// Parser.h	-	Parser class
// Parses two text files and creates a data structure of Nodes.

#ifndef PARSER_H
#define PARSER_H
#include <unordered_map>
#include "Node.h"
typedef std::unordered_map<std::string, Node*> NodeMap;

class Parser
{
public:
	Parser(void);
	~Parser(void);
	static NodeMap* parseData(std::string, std::string, std::string);

private:
	static void parseLocations(std::string, NodeMap*, std::string);
	static void parseConnections(std::string, NodeMap*, std::string);
};
#endif
